package com.example.wechatdaka.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.wechatdaka.entity.Clazz;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wechatdaka.entity.UserTeacher;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lx
 * @since 2020-11-26
 */
public interface ClazzService extends IService<Clazz> {
    public List<UserTeacher> selectTeacherList();
    public List<Clazz> queryAllClazz();
    public IPage<Clazz> queryAllClazzPage(Page page);
    public void updateClazzPeopleNum();
    public IPage<Clazz> queryClazzByTeacherPage(Page page, String id);
    public IPage<Clazz> queryClazzByKeywordPage(Page page,String keyword);
}
